package com.horse.cloud.framework.redis;

/**
 * @create: Created by intelliJIDEA18.1.3
 * @author: bing.Pan
 * @e-mail: 15923508369@163.com
 * @gmdate: 08/08/2018 15:41 星期三
 * @sidesc: redis运行模式
 */
public enum RedisModeEnum {

    STAND_ALONE("stand_alone","单机模式"),
    CLUSTER("cluster","集群模式"),
    SENTINEL("sentinel","哨兵模式"),



    ;

    private String mode;
    private String description;


    RedisModeEnum(String mode, String description) {
        this.mode = mode;
        this.description = description;
    }

    public String getMode() {
        return mode;
    }

    public String getDescription() {
        return description;
    }
}
